<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单案例</title>
</head>

<body>
    <form action="url地址" method="POST" name="表单域名称">
        账户:<input type="text" name="账户" id="" value="账户" maxlength="6"> <br>
        密码:<input type="password" name="" id=""> <br>

        单选框: man<input type="radio" name="sex"> woman<input type="radio" name="sex"> <br>

        复选框:1<input type="checkbox" name="" checked="checked"> 2<input type="checkbox"> 3<input type="checkbox">
        <br>
        <input type="submit" value="提交数据"><br>
        <input type="reset" value="重新填写"><br>
        <input type="button" value="获取短信验证码"><br>
        <input type="file" value="上传文件">
        <br>
        <label for="text"> 账户: </label> <input type="text" name="zhanghu" id="text"><br>
        <label for="nan">man</label> <input type="radio" name="sex" id="nan">
        <label for="nv">woman</label> <input type="radio" name="sex" id="nv">
        <br>籍贯:
        <select>
            <option>山东</option>
            <option selected="selected">火星</option>
        </select>
        <br>
        备注:<textarea>文本域:</textarea>
    </form>
</body>

</html>